//package com.sxkf.template.controller;
//import com.sxkf.core.api.vo.R;
//import com.sxkf.template.entity.BrandCategory;
//import com.sxkf.template.service.BrandCategoryService;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.web.bind.annotation.*;
//
//import javax.annotation.Resource;
//
///**
//* (t_brand_category)表控制层
//*
//* @author zgc
//*/
//@Api(tags="品牌分类模块")
//@RestController
//@RequestMapping("/t_brand_category")
//public class BrandCategoryController {
///**
//* 服务对象
//*/
//    @Resource
//    private BrandCategoryService brandCategoryService;
//
//    @ApiOperation("创建品牌分类信息")
//    @PostMapping("/create")
//    public R<Boolean> create(@RequestBody BrandCategory brandCategory){
//        return R.success(brandCategoryService.save(brandCategory));
//    }
//
//    @ApiOperation("更新品牌分类信息")
//    @PostMapping("/update")
//    public R<Boolean> update(@RequestBody BrandCategory brandCategory){
//        return R.success(brandCategoryService.updateById(brandCategory));
//    }
//
//    @ApiOperation("删除品牌分类信息")
//    @PostMapping("/delete")
//    public R<Boolean> delete(@RequestParam String id){
//        return R.success(brandCategoryService.removeById(id));
//    }
//}
